From cd5897bdda84388e1b859847b2263709bb254860 Mon Sep 17 00:00:00 2001 From: Rob Hoes Date: Wed, 6 Nov 2013 17:49:51 +0000 Subject: [PATCH] libxl: ocaml: add domain_build/create_info/config and events to the bindings. We now have enough infrastructure in place to do this trivially. Signed-off-by: Ian Campbell Signed-off-by: Rob Hoes Acked-by: Ian Jackson Acked-by: David Scott --- tools/libxl/libxl_types.idl | 2 +- tools/ocaml/libs/xl/genwrap.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl index c43c5b19b7..ce003c6113 100644 --- a/tools/libxl/libxl_types.idl +++ b/tools/libxl/libxl_types.idl @@ -464,7 +464,7 @@ libxl_domain_config = Struct("domain_config", [ ("on_reboot", libxl_action_on_shutdown), ("on_watchdog", libxl_action_on_shutdown), ("on_crash", libxl_action_on_shutdown), - ]) + ], dir=DIR_IN) libxl_diskinfo = Struct("diskinfo", [ ("backend", string), diff --git a/tools/ocaml/libs/xl/genwrap.py b/tools/ocaml/libs/xl/genwrap.py index e072386f09..4206c87c27 100644 --- a/tools/ocaml/libs/xl/genwrap.py +++ b/tools/ocaml/libs/xl/genwrap.py @@ -441,11 +441,7 @@ if __name__ == '__main__': # Do not generate these yet. blacklist = [ "cpupoolinfo", - "domain_create_info", - "domain_build_info", - "domain_config", "vcpuinfo", - "event", ] for t in blacklist: -- 2.30.2